ji=0;
while ji<=30:
    if 2*ji+4*(30-ji)==90:
        print("鸡:{}\n兔:{}".format(ji,30-ji))
    ji+=1
